import { $t } from "@/plugins/i18n";

const Layout = () => import("@/layout/index.vue");

export default {
  path: "/booking",
  name: "Booking",
  redirect: "/booking/index",
  component: Layout,
  meta: {
    icon: "ant-design:calendar-outlined",
    title: $t("menus.hsBooking"),
    rank: 7 // 确保菜单出现的位置合适
  },
  children: [
    {
      path: "/booking/index",
      name: "BookingManagement",
      component: () => import("@/views/booking/index.vue"),
      meta: {
        title: $t("menus.hsBookingManagement"),
        icon: "ant-design:calendar-outlined"
      }
    }
  ]
};
